package com.db.sql;

import java.util.*;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.xml.XmlBeanFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.springframework.core.io.ClassPathResource;
import org.springframework.core.io.Resource;


public class SqlMap {

	private Map<String, String> sqlMap; // 系统参数

	public Map<String, String> getSqlMap() {
		return sqlMap;
	}

	public void setSqlMap(Map<String, String> sqlMap) {
		this.sqlMap = sqlMap;
	}
	
	
	
	public static void main(String[] args){
		ApplicationContext context = new ClassPathXmlApplicationContext(
				"sql-map.xml");
		SqlMap data = (SqlMap) context.getBean("SqlMap");
		System.out.println(data.getSqlMap().get("test"));
		
	}



}
